
package com.hlkj.pay.infrastructure.model.merchant;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 商户代付配置
 * 
 * @TableName t_merchant_payment_detail
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_merchant_payment_account_config")
public class MerchantPaymentAccountConfigDO extends BaseDO {
    /**
     * 商户编号
     */
    @Schema(description = "code")
    private String code;
    /**
     * 商户编号
     */
    @Schema(description = "商户编号")
    private String sn;
    /**
     * 账号名称
     */
    @Schema(description = "账号名称")
    private String name;

    /**
     * 账号code
     */
    @Schema(description = "账号code")
    private String cardNo;

    @Schema(description = "账号类型 0：对公账户 1：对私法人账户 2：对私非法人账户")
    private Integer accountType;

    /**
     * 银行编码
     */
    @Schema(description = "银行编码")
    private String bankCode;

    /**
     * 银行名称
     */
    @Schema(description = "银行名称")
    private String bankName;

    /**
     * 联行号
     */
    @Schema(description = "联行号")
    private String branchCode;

    /**
     * 联行号
     */
    @Schema(description = "开户行名称")
    private String branchName;

    /**
     * 银行卡绑定手机号
     */
    @Schema(description = "银行卡绑定手机号")
    private String cardPhone;

    /**
     * 身份证号码
     */
    @Schema(description = "身份证号码")
    private String certNo;

    /**
     * 省份名称
     */
    @Schema(description = "省份名称")
    private String provinceName;

    /**
     * 城市名称
     */
    @Schema(description = "城市名称")
    private String cityName;
    @Schema(description = "下发方式 1- 支付宝账户； 2- 微信零钱；3-银行卡 4-渠道内部户")
    private Integer entryType;
    @Schema(description = "收款方类型，1=个人，2=企业，入账方式为3或4必传，其它非必传")
    private Integer payeeType;

}
